package org.tp8.sampleapp.loader.model;

import org.tp8.sampleapp.model.BaseModel;

/**
 * Base model class used for data.
 * 
 * @param <T>
 *            the generic type
 */
public abstract class EntityCase<T extends BaseModel<Long>> extends Case {

	/** The entity. */
	private T entity;

	/**
	 * Gets the entity.
	 * 
	 * @return the entity
	 */
	public T getEntity() {
		return entity;
	}

	/**
	 * Sets the entity.
	 * 
	 * @param entity
	 *            the entity to set
	 */
	public void setEntity(T entity) {
		this.entity = entity;
	}

}
